home *** CD-ROM | disk | FTP | other *** search
/ Champak 86 / (Vol 86) My Disc.iso / Games / moda_1223.swf / scripts / frame_3 / DoAction_2.as next >
Text File  |  2009-04-23  |  1KB  |  56 lines

  1. stop();
  2. click.onPress = function()
  3. {
  4.    this._visible = false;
  5.    var _loc3_ = new mx.transitions.Tween(buttons,"_x",mx.transitions.easing.Bounce.easeOut,-57.9,2.1,1,true);
  6.    var _loc2_ = new mx.transitions.Tween(buttons2,"_x",mx.transitions.easing.Bounce.easeOut,862.1,802.1,1,true);
  7. };
  8. buttons.dressbtn.onPress = function()
  9. {
  10.    doll.dresses.nextFrame();
  11. };
  12. buttons.chainbtn.onPress = function()
  13. {
  14.    doll.chain.nextFrame();
  15. };
  16. buttons.capbtn.onPress = function()
  17. {
  18.    doll.cap.nextFrame();
  19. };
  20. buttons.shoesbtn.onPress = function()
  21. {
  22.    doll.shoes.nextFrame();
  23. };
  24. buttons.tintbtn.onPress = function()
  25. {
  26.    doll.doll1.nextFrame();
  27. };
  28. buttons2.lipsbtn.onPress = function()
  29. {
  30.    doll.lips.nextFrame();
  31. };
  32. buttons2.eyelensbtn.onPress = function()
  33. {
  34.    doll.eyelens.nextFrame();
  35. };
  36. buttons2.eyeshadebtn.onPress = function()
  37. {
  38.    doll.eyeshade.nextFrame();
  39. };
  40. buttons2.rougebtn.onPress = function()
  41. {
  42.    doll.rouge.nextFrame();
  43. };
  44. buttons2.reset.onPress = function()
  45. {
  46.    doll.dresses.gotoAndStop(1);
  47.    doll.chain.gotoAndStop(1);
  48.    doll.shoes.gotoAndStop(1);
  49.    doll.cap.gotoAndStop(1);
  50.    doll.doll1.gotoAndStop(1);
  51.    doll.lips.gotoAndStop(1);
  52.    doll.eyelens.gotoAndStop(1);
  53.    doll.eyeshade.gotoAndStop(1);
  54.    doll.rouge.gotoAndStop(1);
  55. };
  56.